moved removal position of send_buffer