cleanup
printf like log