diff --git a/modules/type/dag/dap_chain_cs_dag.c b/modules/type/dag/dap_chain_cs_dag.c
index 1deb540361e7422e250ce7d3aeea166ebdc0f0a2..ce45f23c4b5058437ef0f46f3f72b0340cb8a36c 100644
--- a/modules/type/dag/dap_chain_cs_dag.c
+++ b/modules/type/dag/dap_chain_cs_dag.c
@@ -1860,7 +1860,7 @@ static int s_cli_dag(int argc, char ** argv, void **a_str_reply)
                  json_object_object_add(json_obj_out, "Last event num", json_object_new_uint64(l_last_item ? l_last_item->event_number : 0));
                 json_object_object_add(json_obj_out, "Last event hash", json_object_new_string(l_last_item ?
                                                                                 dap_hash_fast_to_str_static(&l_last_item->hash) : "empty"));
-                json_object_object_add(json_obj_out, "ts_create", l_last_item ? json_object_new_string(l_buf) : "never");
+                json_object_object_add(json_obj_out, "ts_create", json_object_new_string(l_last_item ? l_buf : "never"));
 
                 size_t l_event_count = HASH_COUNT(PVT(l_dag)->events);
                 sprintf(l_tmp_buff,"%s.%s has events", l_net->pub.name, l_chain->name);