- fix bug of directory