fixed search and detail view