figured it out, needed to call clone()

bypasses issue with reference/dereference from borrowed pointer