hoping import basestring fixes it for py3