Use basestring in dataset