fix infix to postfix bug