filepath bug fix