fixing typo, warning