fixed the profiler when an uncalled listener throws an exception when instantiated