fixed dependeny loop