error handling and readme typo