delete redundant code for keyword checking
bug fix in modifier finding