fix isString function to underscore