fixed gzip decompression