remove 'public' from struct bases