fix reloadConfig to avoid break system when env not load