fix history backup process bug