fix notice on missing templateData