fixed minor performance regression
printf persistant/transient support