get structure right