Fixed work with config