version check fix