fixed typo in xml, refactored to 2.0+syntax