reduce raw types