Version check fixed