add check_plain to check the table query field