Fixed directory path bug