fixing profile page issue