Fix typo
Fix compiler warnings.