Fixed profile page not working from last commit