Adding rescue for missing templates