astar fix for inactive units