improvement of rebuilt string