missing var + code style fix