cleanup instrumentation