fix warnings
Merge pull request #20 from judajake/fix_warnings

fix warnings