fixed the ReceivedData passing issue