fix: fix overrides handling for dependencies