fixed python nb demo subscript issues