Fixed typo in variable name.
Fixed compilation error.