Fix the data sending problem