minor fixes in handle_error recipes