fix gzip input filter