a bug fix. should leave enough room (4 bytes) for holding message size