clear used variables in deleteDuplicate routine