fix for unique field validator