fix the output folder in case mis-deleting data