Fix bug in grammar.