fix warnings
Merge pull request #1 from Automatic/fix-warnings

fix warnings