fix warning
Merge pull request #817 from nico/warn

fix warning