fixing grammars