Fix typo causing fatal error