fixed access to array of structures