fix dependency resolution