Custom events enabled for correct work