render types using new syntax
fix #532
simpler more consistent impl of #532