path bug fix