remove debug from template