fixed LR issue in HW2