Fixing the new version check