Correct XML serialize excpetion

I forget to send this update sorry for delay.