ensure id fields are not outputted on main sheet
fix some incorrect nested id output