improve Redirect after exception