#20 fixed bug with directory name