handle gzip errors
1.0.6