Fix incorrectly named variable