dolete is functioning now for menu items