modify check rule