cleaning up the console printer