fix confusing deprecation warning
Merge pull request #83 from ujifgc/fix-deprecation

fix confusing deprecation warning