correction number of buttons