Fix bug. Wrong variable name.