Fix missing var declaration

Trivial fixes, merging.