Corrected malfunction in interpolation