fixing button groups