remove generic struct