deprecate event module