minor update on error print