event action flag enable and disable