fixed the issue of the event aggregator not used in timer