Fix missing var warning