Fix config passing.