fixed incorrectly named variable