fix compile error: private struct field by default