Lbph bug fix