fix deprecation warnings for 0.15.0 update