printf cleaning