Fix error with config