updated check for WalkableArea. fixing circular dependency