fixed a bug in astar