corrected gzip stream