Remove debug info from template