removed '/' from template url to ensure it follows base url not domain