fixed the profile page and post page