modify string dong't have splice's bug