# Expanding cluster size

**URL:** <https://forum.exploitzeroday.com/t/expanding-cluster-size/141>\
**Category:** Bugs and Issues\
**Created:** [March 27, 2015, 6:44pm UTC](https://forum.exploitzeroday.com/t/expanding-cluster-size/141 "2015-03-27T18:44:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enthernal](https://forum.exploitzeroday.com/user_avatar/forum.exploitzeroday.com/enthernal/32/27_2.png) [@Enthernal](https://forum.exploitzeroday.com/u/Enthernal)\
**Post date:** [March 27, 2015, 6:44pm UTC](https://forum.exploitzeroday.com/t/expanding-cluster-size/141/1 "2015-03-27T18:44:08Z")

</div>

When expanding a cluster to 5x5 size (have not tested with other sizes) and saving a system at x=5 y=1 coordinates, the system always gets moved to x=5 y=2 after refreshing.  
When saving another system at x=5 y=1, an error informs me there already is a system at those coordinates: `{"non_field_errors":["There is already a system in that position of the cluster (4, 1)"]}`

---

<div class="post-metadata">

**Author:** ![gregory](https://forum.exploitzeroday.com/user_avatar/forum.exploitzeroday.com/gregory/32/11_2.png) [@gregory](https://forum.exploitzeroday.com/u/gregory)\
**Post date:** [March 27, 2015, 7:05pm UTC](https://forum.exploitzeroday.com/t/expanding-cluster-size/141/2 "2015-03-27T19:05:34Z")

</div>

That’s an issue! Thank you. I’ll put together a hotfix for it and hopefully have it fixed soon.

---

<div class="post-metadata">

**Author:** ![gregory](https://forum.exploitzeroday.com/user_avatar/forum.exploitzeroday.com/gregory/32/11_2.png) [@gregory](https://forum.exploitzeroday.com/u/gregory)\
**Post date:** [March 27, 2015, 8:21pm UTC](https://forum.exploitzeroday.com/t/expanding-cluster-size/141/3 "2015-03-27T20:21:59Z")

</div>

This issue should now be fixed.

For folks curious about the problem: adding the cluster resize buttons modified the HTML structure of the page and we were using a naïve method of getting the coordinates of a system based on its row and column in the table serving as the cluster grid. I changed it to properly only count system rows and cells when making this calculation.

Let us know if you have any other issues! Thank you very much for reporting this one.
