BUG: basestring is not PY3 compat