fix use of resolve_dependencies