improved reading of messages / proper setting of ACK bit