cleaned some debug text on templates