fixed warnings
Merge pull request #28 from jahntheman/master

fixed warnings