Fix typo causing a fatal error