rewrite ServiceEventTracker and PerServiceBase service event handle code