Fixed a rather egregious error LOL

Every variable would have been set to "null" by accident. Whoops