fix a bug that config wont read changes in file