Wrong var name in template