a little change to generate twines, when lang includes set