fix resolving dependancies