Fix in generating LM for PTIcs.