removed DEBUG TEMPLATE_DEBUG from env code.