fix some deprecations for 0.13.3