fixing report directory path bug