min check rule bug fix