Fixed shift/reduce errors