Fixed XML Bug