Fix config fetching