remove dependence of EventFilter because it's a internal class