fix no multiple send_error calls