[LIE/M] Output improvement

To apply the changes in !4851 (merged) to LIE/M according to this comment.