return after sending error