How to fix broken gate associations across hierarhical sheets

Hi!
I’m making a pcb, and somehow i ended up with some opamps have their power symbols on completely unrelated sheets.

I have 4 instances of dac_amp sheet, and 3 of them are ok, but one (page12) somehow has opamps U16A U16B but the power pins are U15C. U15 opamps are on dsp sheet, and this is where u16’s power pins ended up.

Project is here: GitHub - DeepSOIC/uberamp1 at 52ad3ca34985c0c66cfd47ea9b41ea1aeb483799

Any suggestions on how to fix it? If i try cut and paste, all instances of dac_amp are affected…

I don’t know how this happened, but the project started out in kicad7, and i have recently upgraded to kicad8

On page 12 just edit the properties of the power unit U15C to U16C, and on the DSP sheet edit U16C to U15C.

thanks, now i have an error “Error: Multiple footprints found for ‘U15’.” when updating the pcb…

ok, deleting all u15 from pcb and updating again fixed it, seems good now, huge thanks!