enable/disable flag on simulator