delete duplication function in UI