fixing incorrect variable name from previous commit