register page error fix