Fixed ugly output when exiting using command dtpwgen