Little cleanup before printing