fix issues of intercepting instances which are generated before profiling