typo causing crash