fix: output of last day in input file missing