fix warning

fix issue #11