fixed template bug by adding ^ in urls