added a fix for a struct bug in IDA's API