fix api_version_4 build_deps read logic