fixing version check controller