Changes minor things in parseFormula