fix struct type