fixed bug in html5; templates allows for not printing