fixes registration form