removed isset check, because done in getLatestVersion()