remove useless branch