Fix references in templates