support printing typeid's
merged