Fix struct conversion.