Fixed typo causing warnings