clear previous branch content