fix deprecation notice
Merge pull request #34 from bendrucker/deprecate

fix deprecation notice