send_data twice bug