core: add support for strict event check