remove the base if all bases are one