Opening iron doors purely with commands (1.20.1)

i am trying to get iron doors around me to open via a fill command but its not working. i am using fill ~6 ~6 ~6 ~-6 ~-6 ~-6 iron_door[powered=true] replace iron_door[powered=false]. this breaks the door

Continue to help post