only have one error class for duplicate names