fix bug in the size of message/number of items placed in buffer
fix bug in the size of message/number of items placed in buffer

bakerstu/openmrn,bakerstu/openmrn,bakerstu/openmrn,bakerstu/openmrn,bakerstu/openmrn,bakerstu/openmrn