Bugfix, var statement could be left uninitialized