fixed error in template which caused an unrendered label in the generated url