fixed bug in button group