delete innecesary button groups