[bugfix] generics lib