Fix incorrect email var.#1810
Fix template loader. #1810