fixed a typo in var name