small fixes: 'var' and task param