fix makeGeneric()