further fix for templates menu

--HG--
extra : source : 4e6f27a35c278d3465574eb93ec3d4f378799db4