fix misnaming of variables