bugfix : invalid decoding of multy byte remaining length