fixing dependencies bug