set data_buffer to null in packets if count of bytes is not positive