support deleting references