remove redundant buttons