fixing locale and language mixes