Fixing placement of contect var