Made simplifyExpr better