Bug fix: poti offset and max were not adjustable