fix deprecation
Merge pull request #10 from steveklabnik/fix_deprecations

fix deprecation