Fixed profile page rendering bug