change Expr pointers to Expr objects