fix some error in downloading.