fix warnings
Merge pull request #788 from thomas33/master

fix warning