Small fixes ...

fixed a typo,
removed a var that wasn't necessary