fix bug in Interpolate