Fix send_raw

send_raw doesn't work without this fix