clean up error messages
(#12)