fix struct map