remove useless buttons