get config by name