version check fixed