fix warnings
Merge pull request #21 from judajake/fix_warnings

fix warnings