remove unused generic