removed old template loader