delete unused branches code