fix struct member access