printf cleanup