support dependency config for old project