fix linear interp scan