bug fix 2

fix the persistence of array after the game is over, when you detach the
array