Better language detection