Fixing incorrect variable name