optimize work detail view