grammar: bugfixes for minification