fix expire error when set after cookie removed