fix reloading config file