fixing gzip import issue 2774