reduce the numbner of buttons