lang and langMatches fixed