fix bug in pe_structs