fix rois files with nans