Typos in var declaration