fixed associativity issue in parser