api, base: fix dependencies