[BUG #7149] missing 'var' keyword