fix to register page