fixes up instrumentation performance