fix ResampleType def