agent actions fix