Fix weird language detection