fixed broken UniqueValidator