fix agent instance alert checks