drop deprecated function call.
support event data collector in web profiler.