detail view working with pk