fix reloading config issue