fix wrongly named variable in code example