Fix config errors