resolved shift reduce error