tonemode value fix