include return_var on error