fix(config): fix the warning when using old syntax