prevented duplicate registrations