Fixed missing var