fixed custom templates (wasn't being passed in)