remove uneeded buttons