fixed a bug in the data encoder/decoder for kirby data