fix bug register page