Set members doesn't work with array element

Omg awesome bug. And I naively believed that it is enough to simply pass the address of a member of the structure to a function))