calling return after sending error