# \[BUG-7731\] Power Chart Pen Edit Overwrites the Wrong Pen

**URL:** <https://forum.inductiveautomation.com/t/bug-7731-power-chart-pen-edit-overwrites-the-wrong-pen/73621>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [May 11, 2023, 10:05pm UTC](https://forum.inductiveautomation.com/t/bug-7731-power-chart-pen-edit-overwrites-the-wrong-pen/73621 "2023-05-11T22:05:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick.gehringer](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@nick.gehringer](https://forum.inductiveautomation.com/u/nick.gehringer)\
**Post date:** [May 11, 2023, 10:05pm UTC](https://forum.inductiveautomation.com/t/bug-7731-power-chart-pen-edit-overwrites-the-wrong-pen/73621/1 "2023-05-11T22:05:18Z")

</div>

v8.1.26

While the pen edit sidebar is open, if I click on another pen edit in the power chart and then click "Done" on the sidebar, it overwrites all that pen's data.

Both pens:

 ![power chart bug start](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/058aaa83943ed5cb26f3f76c9127171c42f6fafe.png)

Clicking Station 10 "Edit Pen" icon --while the Station 11 pen properties are open:

 ![power chart bug pen edit](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/3/e336c96a87bb5a5dc7d9c02a60747a6567fc194e.png)

Then clicking "Done":

 ![power chart bug pen edit done](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/8/388022b2b21fcd02a05f0883701d86325ac0f5e6.png)

Result is duplicate Station 11 pens:

 ![power chart bug result](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/967a0b65edd0062d6e81c52148763e8b84c78f8e.png)

Let's say I have 2 pens displayed on the power chart...Station 10 and Station 11. If I click the "Pen Edit" icon on Station 11, it opens the sidebar so we can see it's properties. Now if I click the "Pen Edit" icon on Station 10 --before closing that sidebar-- and then click the "Done" button then it overwrites everything about Station 10 and creates a duplicate Station 11 pen.
