Thicken issue

Would someone please tell me where I am going wrong here? I am trying to thicken this part but it's not thickening as I would like. The edges shown is at an angle instead of being flat.

I would like it to be like this.

SolidworksSurfacing