removing duplicated branch