ensure that all pragma flags get reset on each run