reset parent index when move fails