dont mutate the array on flush