Fixed bug where address structs were not copied properly