fixed dependencies bug