tidy up font loading in template
validation