fixed gzip support.