Fixed bugs of interpolation