fixing bug in LH