decompression bug fix