valid XML, fixed bug