Fix bug - wrong variable name.