fix untyped generic.