add missing variable to template