add: ext_ref in ring struct
fix: double free in -v