fixes the profile pages