fix missing var