Fix language detect issue.