check name duplication while editing author