bug fixing on Struct2DocElem