fixed the disable_triggers method