some small fixes and debug in DownloadUtils