rework controller detail view