fix AudoDirCheck
add AutoDirCheck constructor