fixed send_data issue