fix version check rule