fix bugs when fetching user's profile