fix public items in struct