a wrong version check fix