Fix a receive data bug