Fix some sloppily un-renamed variables. Pay more attention and test your code, man