fixed long-standing interpolate bug