deleting extra branches