fix no outpath bug