removed bug in form validation for PINs