fixed template pathing