cleanup for minor-buttons.