modify debug_mem print format