fix ECORRUPTHTTPGZIP bug