fixed instrumentation problem on static methods