fix bug in get_history_dict
if download fails, need to remove symbol and continue