set event module to strict mode