fixed error with config