Fix config lookup