bug fix at interpolation