adjust handling of <lem wit="...">