fix modules not ready after save config