BUG: missing var def