tidy up printing