add the condition to judge if the ISBN is distinct or not