hide unused buttons.