Fix debug comms send_data bug