avoid erasing hint query by reg expression
bug fix