Fix typo causing crash