fix some warnings
Merge pull request #240 from joergkappes/master

fix some warnings