Fixed bug in variable length reading, print first event chunk