clean up the program output