Fixed block data bug

Endianness of some fields in the block data was wrong.