fixing output folder