fix nested template request pathing