fix compile error: 5505 for the midrule at  of structsp_attr has no declared type
performed a cleanup based on the orig tree