clearing out resampled images