fix ViewButtonsPanel