delete duplication formula