fix the bug in user profile page