minor. added a missing 'var'