gzip and error exception