fixed issue with directory