add a missing 'var'