Bugfix to refactoring of oc_config