Fix data sending error.