finish printf