correction of some bugs in Fortress grammar