improve error message
beautify output