fixed template loader webnotes/wnframework#351