fixed the profile and detail view