[bug877305] added the missing var to the variable declaration