prettified the error message format based on user feedback