Remove duplicate perm.