Fix delete array