ADD array check to avoid installation issues