fix resolving dependencies