replace expr with Expr for latest Julia