make batch mode output usable