fixed template tags in urls