Incorrect variable name fixed.