fixing output directory name