Version check fix