Fixed the send data listener.