pull return out of error catcher