remove repeat detection