Fixed some issues with directory.