fix nestable element xml string method