cleanup printing