fewer error messages (issues #229 and #239)