fix incorrectly named variable