Fixed registration form check