address an HV refcount issue described in perlxs