remove unnecessary buttons