Fleet server cannot display offline elastic agent

The versions both of elasticsearch, kibana, elastic -agent and fleet server are 8.16.1. The fleet server in kibana warn:_hit$_source4.components.map is not a function when i check the offline agent. what is the problem ? how can i resolve it ?

however, the fleet server in kibana display the agent's status is normal if i do not check the status: offline.

moreover. if i do not check status for offline agent, it is OK, like this :

Thanks for reporting, there is a public issue created for this, we'll fix it soon: [Fleet]: `_hit$_source4.components.map is not a function` error pop-up is repeatedly displayed on restarting service for Orphaned agents. · Issue #207017 · elastic/kibana · GitHub