file path bug fix