add compression for gzip