Fixed a bug in lmh install