Fix name of var in view