fix changing original values in interpolation