fix for improper use of imported method
Merge branch 'gzip_fix'