fix interpolation errors