Fixed templating issue

The templating engine wasn't handling additional templates on the same method correctly because I was overwriting the original copy, I fixed that.