Fixed incorect variable name.