Fixes dependencies bug