modify the confirm bug