Fix a defect that will cause download fail