Fixed the gzip bug