fix communication bug