adding safe deleting for products and sizes