fix interpolation check