resampler bugfix