Fixing an issue when IOS parses the template.