fix kit deprecations