Fix the bug with user profile page error