fix transitive dependency resolution bug