add support to gzip data