Correct a mistake in rest ip save