fix issue #28 (for deleting links)