a bit smarter puts for errors.