adapt to latest cider