Found 1 bug in open_namev(improved the ref_count)