basestring fix