fix struct version