Deletes not needed printing.