some modification Astar and scene