template id name fix w/html5mode