erase the struct version