fix new version check