restore duration in profiler