fix issue where deps would be overridden