fix lwr model.