Fix field validation on register