fix use path/filepath intead path