fix error message typo and improved the design of the message