simplify dis/enable so one can pass flag