fixed a filepath bug