fix discontinuity
remove old resampler