cleaning up printing