find the correct parent config instance. Related to #3