fix "Undefined index" at config during CLI call