commenting out code that breaks the redering of templatesls in debug mode