prevent multiple loading of the same template.