fixed python replan