#7 fix missing var