fix wrongly named variable