model validation - uniqueness fix