LR bug fix