fix core/isArray issue