replanning works some of the time