fixed bugs, added astar