fix for html template inclusion