fix a bug in partial UFS checking
clearnup