fixed problems with config