Get rid of invalid keywords.