make the custom event module work