Correct editing of config file