delete array problem