Fixed typo that caused fatal error