cookies flagging properly