Some Bugfixes
Revert "...."

This reverts commit 038c6a99d8628c340a05cf52f36bdaf3e11455e0.
temporary disabled write to xml data