fixed order of operations in expression parser