allow disabling events