fixed small bug in comms