add search stack history cut branch