fix for missing var