corrects doubled history states