fix compile error: struct field now default private