Fixed issue with directory