fixes another mistake in struct generation (i am getting insane, ahhhh...)