prettyprinting fix for Type.Compound