Fix LM end time