display itemtype name only if class exists
fix templates menu entry