Removed some unused var statements

edit: I saw some more, so adding a new commit
edit2: amended commit :)