tsk tsk missing var declaration