remove basestring reference