refactor downloadhelper