modify astar