fix leaking globals

It doesn't look like this line is necessary at all.