improves rendering of events