Fixed dependencies bug