adapt to new dep version