unfinished changes on httpdownload