Fixed validation problem.