Issue with moments of inertia

Hi, I am having slight issue with moments of inertia. In the picture below is shown my moment of inertia Iz but it is supposed to be Iy. So my question is how do I rotate them?

You must rotate all cross-section elements by 90 degrees.
If this doesn’t help upload your system with this graphic.