fix stored cookie values