fix decimate