fix theming bug, html templates