fix latest_version_number helper