dialect detection fix