Fix x=1 math parser problem