Fixed a BUG FC cannot get outputdir