Fixes missing var