LMC bugs fixed