removing outdated versions from getLatest