clean up downsample