fixups to crc offset calcs and buffer releasing