fix lang cookie setting