Remove extra branches