removes unnecessary button