fixed document not found for newest_version when no version is available