fix erroneously named variable