smarty templates not defined