fix compile error in download utils