correct document structure error