DRY
delete the item if it's empty