fix the version check fix.