fixed shift/reduce problems