fixed bug in infix evaluation