remove refcount