add download useragent and some utils