fix a bug in disable WD and finish SCI