better template load error message.