fix lpo encdoing
configurable lpo encoding