fixed the profiles page issue