Profile page bug fix