fixes the decoding of int values. this is important for the correct readout of the number of keys

...ayed and all other values which are ints with more than one byte