fix gzip bug when combined with panic wrapper