Fixed interpolation code.