z_ubf: fix for decoding integer values.