fixes #376, dupe template name issue