fixed LMC.java