fix warnings
Merge pull request #22 from hegner/master

fix warnings