fixed issue with directory mapping