instead of the used templates note being NIL. Also, if the used templates note is NIL, use it's name instead.