fixes to registration form