lang detection fix