fix deprecation warnings for 0.12.4
Merge pull request #2 from reset/12-4-deps

fix deprecation warnings for 0.12.4