fixed language detect