fix validates uniqueness