Fixed typo
fix warnings from new SDK