language cookie persistence fix