AStar repair