fixed bug with deleting entire menu section