Fixed the directory check error
Merge branch 'hotfix/DIR_CHECK'