Fix PH calibration
Safe threshold map using simple fallback