 <p>I was using inside a loop and was cloning the same reference object, so deleting the same var.</p> <p>Sorry for my mistake and thank you for showing me that the code runs correctly.</p> <p>ie: you can add all -1 that you want. Sorry again</p>