try to fix the basestring problem.