[BUG_FIX]
[BUG_FIX]
[BIG_FIX] a bug was fixed in generating output file