clean up parseExpression