remove call to error_handler