Fix manage agents error messaage compile warning