fixed astar search