fixed big output file