detail view working properly