fixing Array.isArray() in dist version