dbg: more flag changes