Fix bug in subscription template.