fixed isString errors