make flagging persist work