fix dependency resolution for custom deploy