tweak grammar and symboltable