remove generic subtype