Handle more errors; typo