fix xml header corrupted by autoformat