Fix lang detector