Fixed wrongly named variable.