bugfix: missing var initialization