Remove extra borders