change value only when reply doesn't have an error flag