Fixed registration form by adding pattern