return after error callback