error branch,solving