Change preference error value to match with capi