fixing interpolation