Make sure the $ only appears once in template.