try fix basestring error